package com.hue.gulimail.gulimailorder.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: 姚凤桥
 * @Date: 2021/12/24 22:07
 * @Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "gulimail.thread")
public class ThreadPoolProperties {
    /**
     * 核心线程数
     */
    private Integer coreThread;

    /**
     * 最大线程数
     */
    private Integer maxThread;

    /**
     * 空闲线程存活时间
     */
    private Integer keepAliveTime;
}
